import { lazy } from 'react';
import { QueueIcon } from 'tdesign-icons-react';
import { IRouter } from '../index';

const result: IRouter[] = [
  {
    path: '/platform/order',
    Component: lazy(() => import('pages/Order/index')),
    meta: {
      title: '在线下单',
      Icon: QueueIcon,
    },
    // children: [
    //   {
    //     path: 'base',
    //     Component: lazy(() => import('pages/Form/Base')),
    //     meta: {
    //       title: '在线下单',
    //     },
    //   },
    // ],
  },
  {
    path: '/client/order',
    Component: lazy(() => import('pages/Order/index')),
    meta: {
      title: '在线下单',
      Icon: QueueIcon,
    },
  },
];

export default result;
